package zut.wework.controller;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import zut.wework.entity.BzksBj;
import zut.wework.entity.Result;
import zut.wework.mapper.BzksBjMapper;
import zut.wework.service.impl.BzksBjServiceImpl;

/**
 * <p>
 * 本专科生-班级信息 前端控制器
 * </p>
 *
 * @author 刘铭心
 * @since 2022-03-21
 */
@RestController
@RequestMapping("/wework/bj")
public class BzksBjController {

    @Autowired
    private BzksBjMapper bzksBjMapper;

    @GetMapping("/list")
    public Result getBjList() {
        return Result.success("success", bzksBjMapper.selectList(new QueryWrapper<BzksBj>()));
    }
}
